package com.lc.zpyh.http.response;

import java.util.List;

public class SelectMerchantInfoBean {

    /**
     * msg : 操作成功
     * code : 0
     * merchantInfo : {"img":"aaa","backdrop":null,"evaluationCount":3,"userAttention":1,"activities":[{"aname":"满30减20","aid":"1"},{"aname":"满50减40","aid":"2"}],"name":"测试商家1","attentionCount":3,"id":1,"classifies":[{"name":"测试1","id":"1"},{"name":"测试2","id":"2"},{"name":"测试3","id":"3"}]}
     */

    private String msg;
    private Integer code;
    private MerchantInfoBean merchantInfo;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public MerchantInfoBean getMerchantInfo() {
        return merchantInfo;
    }

    public void setMerchantInfo(MerchantInfoBean merchantInfo) {
        this.merchantInfo = merchantInfo;
    }

    public static class MerchantInfoBean {
        /**
         * img : aaa
         * backdrop : null
         * evaluationCount : 3
         * userAttention : 1
         * activities : [{"aname":"满30减20","aid":"1"},{"aname":"满50减40","aid":"2"}]
         * name : 测试商家1
         * attentionCount : 3
         * id : 1
         * classifies : [{"name":"测试1","id":"1"},{"name":"测试2","id":"2"},{"name":"测试3","id":"3"}]
         */

        private String img;
        private Object backdrop;
        private Integer evaluationCount;
        private Integer userAttention;
        private String name;
        private Integer attentionCount;
        private Integer id;
        private List<ActivitiesBean> activities;
        private List<ClassifiesBean> classifies;

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public Object getBackdrop() {
            return backdrop;
        }

        public void setBackdrop(Object backdrop) {
            this.backdrop = backdrop;
        }

        public Integer getEvaluationCount() {
            return evaluationCount;
        }

        public void setEvaluationCount(Integer evaluationCount) {
            this.evaluationCount = evaluationCount;
        }

        public Integer getUserAttention() {
            return userAttention;
        }

        public void setUserAttention(Integer userAttention) {
            this.userAttention = userAttention;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getAttentionCount() {
            return attentionCount;
        }

        public void setAttentionCount(Integer attentionCount) {
            this.attentionCount = attentionCount;
        }

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public List<ActivitiesBean> getActivities() {
            return activities;
        }

        public void setActivities(List<ActivitiesBean> activities) {
            this.activities = activities;
        }

        public List<ClassifiesBean> getClassifies() {
            return classifies;
        }

        public void setClassifies(List<ClassifiesBean> classifies) {
            this.classifies = classifies;
        }

        public static class ActivitiesBean {
            /**
             * aname : 满30减20
             * aid : 1
             */

            private String aname;
            private String aid;

            public String getAname() {
                return aname;
            }

            public void setAname(String aname) {
                this.aname = aname;
            }

            public String getAid() {
                return aid;
            }

            public void setAid(String aid) {
                this.aid = aid;
            }
        }

        public static class ClassifiesBean {
            /**
             * name : 测试1
             * id : 1
             */

            private String name;
            private String id;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }
        }
    }
}
